﻿<div id="main">
    <div id="contents">
        <form method="post" action="#" name="filters">
            <fieldset>
                <legend>
                    <label sid="lineoptional.table1_title"></label>
                </legend>
                <div class="frame_tab_layer">
                    <table class="cmenutitle" cellspacing="0" cellpadding="0" border="0" width="100%">
                        <tbody>
                        <tr>
                            <td class="frame_tab_left" width="33%">
                                <label sid="lineoptional.table1_td1"></label>
                            </td>
                            <td class="frame_tab_right" width="67%">
                                <select name="id221" id="id221_list">
                                 <!--   <option value="-3.0" sid="lineoptional.table1_db"></option>
                                    <option value="-1.5" sid="lineoptional.table1_db"></option>
                                    <option value="0" sid="lineoptional.table1_db"></option>
                                    <option value="+1.5" sid="lineoptional.table1_db"></option>
                                    <option value="+3.0" sid="lineoptional.table1_db"></option>
                                    <option value="+4.5" sid="lineoptional.table1_db"></option>
                                    <option value="+6.0" sid="lineoptional.table1_db"></option>
                                    <option value="+7.5" sid="lineoptional.table1_db"></option>
                                    <option value="+9.0" sid="lineoptional.table1_db"></option>-->
                                </select>
                                <label sid="lineoptional.table1_db"></label>
                            </td>
                        </tr>
                        <tr>
                            <td class="frame_tab_left">
                                <label sid="lineoptional.table1_td2"></label>
                            </td>
                            <td class="frame_tab_right">
                                <select name="id218" id="id218_list">
     <!--                               <option value="-6.0" sid="lineoptional.table1_db"></option>
                                    <option value="-4.5" sid="lineoptional.table1_db"></option>
                                    <option value="-3.0" sid="lineoptional.table1_db"></option>
                                    <option value="-1.5" sid="lineoptional.table1_db"></option>
                                    <option value="0" sid="lineoptional.table1_db"></option>
                                    <option value="+1.5" sid="lineoptional.table1_db"></option>
                                    <option value="+3.0" sid="lineoptional.table1_db"></option>-->
                                </select>
                                <label sid="lineoptional.table1_db"></label>
                            </td>
                        </tr>
                        <tr>
                            <td class="frame_tab_left">
                                <label sid="lineoptional.table1_td3"></label>
                            </td>
                            <td class="frame_tab_right">
                                <input type="radio" value="0" name="id219">
                                <label sid="lineoptional.table1_radio1"></label>

                                <input type="radio" value="1" name="id219">
                                <label sid="lineoptional.table1_radio2"></label>

                                <input type="radio" value="2" name="id219">
                                <label sid="lineoptional.table1_radio3"></label>

                            </td>
                        </tr>
                        <tr id="tr225">
                            <td class="frame_tab_left">
                                <label sid="lineoptional.table1_td4"></label>
                            </td>
                            <td id="td225" class="frame_tab_right">
                                <input type="text" name="id225">
                                <label sid="sysoptional.table2_exp6"></label>
                                <span id="msg225">&nbsp;</span>
                            </td>
                        </tr>
                        <tr id="tr226">
                            <td class="frame_tab_left">
                                <label sid="lineoptional.table1_td5"></label>
                            </td>
                            <td id="td226" class="frame_tab_right">
                                <input type="text" name="id226">
                                <label sid="sysoptional.table2_exp6"></label>

                                <span id="msg226">&nbsp;</span>
                            </td>
                        </tr>
                        <tr id="tr285">
                            <td class="frame_tab_left">
                                <label sid="lineoptional.table1_td6"></label>
                            </td>
                            <td id="td285" class="frame_tab_right">
                                <input type="text" name="id285">
                                <label sid="sysoptional.table2_exp6"></label>

                                <span id="msg285">&nbsp;</span>
                            </td>
                        </tr>
                        <tr id="tr247">
                            <td class="frame_tab_left">
                                <label sid="lineoptional.table1_td7"></label>
                            </td>
                            <td id="td247" class="frame_tab_right">
                                <input type="checkbox" name="id247">
                            </td>
                        </tr>
                        <tr width="100%">
                            <td class="frame_tab_left" height="31">
                                <label sid="lineoptional.table1_td11"></label>
                            </td>
                            <td class="frame_tab_right">
                                <select onchange="read()" name="id493">
                                    <option value="yes" sid="lineoptional.table1_select1_option1"></option>
                                    <option value="no" sid="lineoptional.table1_select1_option2"></option>
                                </select>
                                <select name="id496">
                                    <option value="no" sid="lineoptional.table1_select2_option1"></option>
                                    <option value="yes" sid="lineoptional.table1_select2_option2"></option>
                                </select>
                                <select name="id495">
                                    <option value="no" sid="lineoptional.table1_select3_option1"></option>
                                    <option value="yes" sid="lineoptional.table1_select3_option2"></option>
                                </select>
                                <select name="id494">
                                    <option value="yes" sid="lineoptional.table1_select4_option1"></option>
                                    <option value="no" sid="lineoptional.table1_select4_option2"></option>
                                </select>
                            </td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </fieldset>
            <div class="submitFooter">
                <script type="text/javascript">
                    var buttonInfo = submitFooterButton(1,0);
                    $(".submitFooter").html(buttonInfo);
                </script>
            </div>
        </form>
    </div>
</div>
<br>
<div id="helpContainer">
    <div id="help">
        <div>
            <h2>
                <label sid="share.help"></label>
            </h2>
        </div>
        <div id="helpBody">
            <dl>

                <dt class="term">
                    <label sid="lineoptional.table1_td1"></label>
                </dt>
                <dd class="definition">
                    <label sid="lineoptional.table1_td1Tip"></label>
                </dd>
                <dt class="term">
                    <label sid="lineoptional.table1_td2"></label>
                </dt>
                <dd class="definition">
                    <label sid="lineoptional.table1_td2Tip"></label>
                </dd>

                <dt class="term">
                    <label sid="lineoptional.table1_td5_1"></label>
                </dt>
                <dd class="definition">
                    <label sid="lineoptional.table1_td5Tip"></label>
                </dd>
                <dt class="term">
                    <label sid="lineoptional.table1_td6"></label>
                </dt>
                <dd class="definition">
                    <label sid="lineoptional.table1_td6Tip"></label>
                </dd>

               </dl>

        </div>
    </div>
</div>

<script type="text/javascript">
    $(document).ready(function(){
        var arr=[];
        var unit = lineoptional.table1_db;
        arr.push('<option value="-3.0">-3.0</option>');
        arr.push('<option value="-1.5">-1.5</option>');
        arr.push('<option value="0">0</option>');
        arr.push('<option value="+1.5">+1.5</option>');
        arr.push('<option value="+3.0">+3.0</option>');
        arr.push('<option value="+4.5">+4.5</option>');
        arr.push('<option value="+6.0">+6.0</option>');
        arr.push('<option value="+7.5">+7.5</option>');
        arr.push('<option value="+9.0">+9.0</option>');
        $("#id221_list").html(arr.join(""));

        var arr2=[];
        arr2.push('<option value="-6.0">-6.0</option>');
        arr2.push('<option value="-4.5">-4.5</option>');
        arr2.push('<option value="-3.0">-3.0</option>');
        arr2.push('<option value="-1.5">-1.5</option>');
        arr2.push('<option value="0">+0</option>');
        arr2.push('<option value="+1.5">+1.5</option>');
        arr2.push('<option value="+3.0">+3.0</option>');

        $("#id218_list").html(arr2.join(""));

        var nonames = new Array("submit");
        var sendtext = getSendText(nonames);
        DataRequest("get_json",sendtext,function(data){
            getResult(nonames,data);
            read();
        });


        $("[name=submit]").click(function () {
            $(".errormsg").html('');
            var settext = getSetText(nonames);
            settext=settext.replace(/\#/g,"%23");
            submitform(modules["set_data"],settext);
        });

    });

	
function read() {
	if($("[name=id493]").val()=="yes") {
		$("[name=id496]").hide();
		$("[name=id494]").hide();
	}else if($("[name=id493]").val()=="no") {
		$("[name=id496]").show();
		$("[name=id494]").show();
	}
}
</script>
</body>
</html>